package com.wangxiang.shop.product.dao;

import com.wangxiang.shop.product.entity.BaseTwoRelEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 
 * 
 * @author wangxiang
 * @email 2293672863@qq.com
 * @date 2022-03-04 11:20:08
 */
@Mapper
public interface BaseTwoRelDao extends BaseMapper<BaseTwoRelEntity> {
	List<Integer> getChildrenId(int parentId);
	int addAssociation(int parentId, int childrenId);


}
